package com.rhb.ca.web.struts.servlet;

import java.util.Date;
import org.apache.struts.action.ActionServlet;
import org.apache.commons.beanutils.ConvertUtils;
import org.apache.commons.beanutils.converters.FloatConverter;
import javax.servlet.ServletException;

import com.rhb.ca.util.DateConverter;

public class BaseActionServlet extends ActionServlet {
	public BaseActionServlet(){
	}
	
	public void init() throws ServletException {
		super.init();
		ConvertUtils.register(new DateConverter(),Date.class);
		ConvertUtils.register(new FloatConverter(null),Float.class);
	}
}
